<script id="action-button" type="text/template">
	<div class="btn-group">
		<!--if{response.data}-->
		<!--for{var i in response.data}-->
		<a href="<!--helper {'action-query-href'(response.data[i].config_id)}-->" class="btn btn-default <!--if{action==response.data[i].config_id}-->active<!--/if-->"><!--{response.data[i].config_name}--></a>
		
		<!--/for-->
		<!--/if-->
	</div>
</script>

<script id="content" type="text/template">
<!--helper{'action-button'}-->
<hr/>
<div class="alert alert-warning alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<strong>友情提示!</strong> 请选择上面的按钮，编辑需要更新的配置。
</div>	
</script>





<script id="content-shop_order_user_comment" type="text/template">
<!--helper{'action-button'}-->
<hr/>
<!--if{response.get}-->
	
	<div class="alert alert-warning alert-dismissible" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		<strong>程序开发提示：</strong> <!--{response.get.config_info}-->
	</div>
	
	<h4><!--{response.get.config_name}--></h4>
	
  	<div class="form-group">
    	<label>是否开启评论审核：</label>
    	<label class="checkbox-inline">
			<input type="checkbox" value="1" name="check" <!--if{parseInt(response.get.config_value.check)}-->checked="checked"<!--/if-->> 是
		</label>
  	</div>
  	
  	<div class="form-group">
    	<label>是否开启评论：</label>
    	<label class="checkbox-inline">
			<input type="checkbox" value="1" name="state" <!--if{parseInt(response.get.config_value.state)}-->checked="checked"<!--/if-->> 是
		</label>
  	</div>
	
	<br/>
  	<button type="button" class="btn btn-primary" name="submit-shop_order_user_comment">确定编辑</button>
	<hr/>
	<span style="color: #999999;">更新时间：<!--{WangAho().date("yyyy/MM/dd HH:mm EEE", parseInt(response.get.update_time) * 1000)}--></span>
	<div style="height: 100px;"></div>
	
	
<!--else-->
<div class="alert alert-danger">未知配置</div>
<!--/if-->
</script>


